package com.sss.gsb.client.grid;

import com.sss.gsb.orm.model.LoanAccountClosed;

public class LoanAccountClosedRow extends RowModel {
	public LoanAccountClosedRow() {
		// empty constructor
	}

	public LoanAccountClosedRow(Integer rowNo, LoanAccountClosed m) {
		this.setRowNo(rowNo);
		this.setCell(new String[] {
				String.valueOf(this.getRowNo()),
				String.valueOf(m.getId()),
				m.getLoan().getCustomer().getIdcard(),
				m.getLoan().getCustomer().getName().concat(" ")
						.concat(m.getLoan().getCustomer().getSurname()) });
	}

}
